package br.edu.ifpb.jdcbexemplo.dao;

import java.sql.SQLException;
import java.util.List;

public interface DAO<T> {
	
	public int inserir(T value);
	
	public List<T> getAll() throws SQLException;
	
	public T get(int id);
	
	public boolean delete(int id);

}
